<!DOCTYPE htm1>
<htm1 lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>5.22</title>
</head>
<body>
       <style>
         .title{
            border: 1px solid red;
          


          }
           </style>
    <script>
        document.write("<h1 class='title>这是一个标题 这是一个标题</h1>")
        document.write('<p>这是一个p标签<p>')
    </script>
</body>
</htm1>